﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Business_Objects;
namespace Data_Objects
{
    public interface IBaoAnDao
    {
        IList<BaoAn> GetBaoAn();

      //  IList<BaoAn> GetBaoAn(string columnSort, string sortType);

        BaoAn GetBaoAnByID(string BaoAnID);

        void InsertBaoAn(BaoAn BaoAn);

        int UpdateBaoAn(BaoAn BaoAn);

        int DeleteBaoAn(BaoAn BaoAn);
        List<BaoAn> GetBaoAnBySchoolIdAndSchoolYear(string SchoolYearID, int schoolId);
        BaoAn GetBaoAnBySchoolIdAndSchoolYearByStuId(string SchoolYearID, int schoolId, string stuId);

        List<BaoAn> GetBaoAnBySchoolIdAndSchoolYearAndNgayBaoAn(string SchoolYearID, int schoolId, DateTime ngayBaoAn);
    }
}
